﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ICSharpCode.Decompiler.Tests.BambomLuaTest
{
	public class TestLoop
	{
		public class TestS
		{
			int a;
		}
		public static int Main(string[] args)
		{
			var condition = true;
			int a, b;
			a = b = 2;
			Console.WriteLine(condition ? "true" : "false");
			return a;
		}
		public void Test(bool condition)
		{
			int a = 10;
			while(condition) {
				a += 10;

				if (a > 100)
					condition = false;
			}
		}
	}
}
